function [CompMatrix] = addMgNum(CompMatrix)

numElements = size(CompMatrix,2); %% 7/18/14 currently 11
for n=1:size(CompMatrix,1)
    CompMatrix(n,numElements+1) = (CompMatrix(n,7)/40.311)./((CompMatrix(n,5)/71.846)+(CompMatrix(n,7)/40.311));
end

end

